//
//  AddServiceEvaluationViewController.h
//  CPICApp
//
//  Created by lizhiwei on 13-3-8.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomActionSheet.h"
#import "RatingView.h"
#import "ASIHTTPRequest.h"
#import "MBProgressHUD.h"

@interface AddServiceEvaluationViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UICustomActionSheetDelegate,RatingViewDelegate,UITextViewDelegate>
{
    UITableView *Tableview;
    NSMutableArray *ListContent;
    NSMutableArray *ListTitle;
    RatingView *starView;
    NSString * ratingValue;
    
    BOOL showProgress;
    MBProgressHUD* progress;
    NSMutableArray *arrTemplate;
    
    NSMutableDictionary *evaluation;
    NSString * seriveitem;
    NSString * evaluatetime;
    NSString * seriveid;
    
    NSMutableArray * ArrayTemplate;
}

@property(nonatomic,retain) UITableView *Tableview;
@property(nonatomic,retain) NSMutableArray *ListContent;
@property(nonatomic,retain) NSMutableArray *ListTitle;
@property(nonatomic,retain) UIButton * SelEvaluationBtn;
@property(nonatomic,retain) NSMutableArray *EvaluationModel;
//服务评价提交
@property(nonatomic,retain) UIButton * EvaSubmitBtn;
@property(nonatomic,retain) UITextView *txvFeedback;
@property (strong, nonatomic) MBProgressHUD* progress;

@property(nonatomic,retain)  NSMutableDictionary *evaluation;
@property(nonatomic,retain)  NSString * seriveitem;
@property(nonatomic,retain)  NSString * seriveid;
@property(nonatomic,retain)  NSString * evaluatetime;
@property(nonatomic,retain)  UILabel * Dissatisfied;
@property(nonatomic,retain)  UILabel *evaluateText;

-(id)initView:(NSString *)serviceID withserviceName:(NSString *)serviceName;

-(void)setEvaluationTemplateRequest;//向太保移动平台发送获取服务评价模板请求报文
-(void)setEvaluationSumbitRequest;//向太保移动平台发送提交服务评价请求报文
-(void)ratingChanged:(float)newRating;
@end
